package com.songqintuan.platform.base;

import java.util.ArrayList;
import java.util.List;


public class ManagePojoPageBean {

	private String action;//action type
	
	private List<String> errorMessages = new ArrayList<String>();
	
	private boolean editDataInPageFlag;
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
	public List<String> getErrorMessages() {
		return errorMessages;
	}
	public void setErrorMessages(List<String> errorMessages) {
		this.errorMessages = errorMessages;
	}
	public boolean isEditDataInPageFlag() {
		return editDataInPageFlag;
	}
	public void setEditDataInPageFlag(boolean editDataInPageFlag) {
		this.editDataInPageFlag = editDataInPageFlag;
	}
	
	public ManagePojoPageBean(){
		
	}
	public void clearErrorMessages(){
		if (null != this.getErrorMessages() && !(this.getErrorMessages().isEmpty())) {
			this.getErrorMessages().clear();
		}
	}
}
